#ifndef _STATUS_UI_H_
#define _STATUS_UI_H_

#include "screen.h"

class Player;

class StatusUI:public Screen
{
private:
	Player* pPlayer;
	ImageInfo* statusBackImg;
	ImageInfo* statusImg;
	TextOverlay* lvText;
	TextOverlay* expText;
	TextOverlay* hpText;
	TextOverlay* mpText;
	TextOverlay* strText;
	TextOverlay* conText;
	TextOverlay* intText;
	TextOverlay* propertyText;
	TextOverlay* skillText;

	const unsigned int TEXTURE_SIZE;
	const unsigned int SQR_BRUSH_RADIUS;
	Ogre::HardwarePixelBufferSharedPtr mTexBuf;
	Ogre::uint8* mConstantTexBuf;
	Ogre::Real mPlaneSize;
	Ogre::RaySceneQuery* mCursorQuery;
	Ogre::Vector2 mBrushPos;
	Ogre::Real mTimeSinceLastFreeze;
	bool mWiping;
	void* pPixel ;
	HDC hBackDC;
	HBITMAP hBackBmp;

	
public:
	StatusUI(float, float, int, int);
	void init(Player* pPlayer);
	void draw(HDC hdc);
	void setPos(float, float, float, float);
	void setManualImg( float r, float g, float b);
	void updateTexture();
};

#endif